package homework;


import java.util.Arrays;

public class T1 {
    public static void main(String[] args) {

        int[][] arr = new int[16][16];

        for (int i = 0; i <arr.length ; i++) {
            for (int j = 0; j < arr.length ; j++) {
                arr[i][j]=j;
            }
        }

        for (int i=0 ;i<arr.length;i++){
            System.out.println(Arrays.toString(arr[i]));
        }

        Sum sum = new Sum(arr);
        sum.SumHang();
        sum.Duijiaoxian();

    }
}
